package Decorator;

// 具体装饰类：黑色边框装饰
public class BorderADecorator extends ADecorator {
    public BorderADecorator(Compoent.AComponent AComponent) {
        super(AComponent);
    }

    @Override
    public void display() {
        super.display();
        addBorder();
    }

    public void addBorder() {
        System.out.println("添加黑色边框");
    }
}